package com.huadi.firematerialident.service;

import com.huadi.firematerialident.po.User;
import org.springframework.ui.Model;

import java.util.List;
import java.util.Map;

public interface UserService {
    public void addUser(User user);
    public void delUser();
    public String getRole();
    public String getUsername();
    public int login(String username,String password);
    public int register(String username,String fPassword,String sPassword);
    public void logout();
    public String ListToJSON(int count,List<Map<String,Object>> list);

}
